﻿using System.ComponentModel.DataAnnotations;

namespace Kay.LazarToDo.Win.Bases
{
    /// <summary>
    /// 标准实体
    /// </summary>
    /// <typeparam name="T">主键类型</typeparam>
    public class Entity<T>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public T Id { get; set; }
    }
}
